<template>
  <div>
    <h1>组件注册:全局注册和局部注册</h1>
    <div>
      <h3>全局注册的组件加载</h3>
      <div>
        <MyComponent3></MyComponent3>
        <StuDemo2></StuDemo2>
      </div>
    </div>

    <div>
      <h3>局部注册</h3>
      <div>
        <Study2Demo2></Study2Demo2>
      </div>
    </div>
  </div>
</template>
<script lang="ts">
export default {
  name: 'Study4StuDemo1'
}
</script>
<script setup lang="ts">
import Study2Demo2 from '@/views/study2/StuDemo2.vue'
</script>

<style></style>
